package com.xiaoq.feature.service;

import java.util.List;

import com.xiaoq.feature.entity.CommentEntity;
import com.xiaoq.vo.PagingVo;

public interface ICommentService {
	
	public List<CommentEntity> findCommentList(String shopId,String tag,PagingVo pvo);
	
	/**
	 * 爬虫接口向库里添加一条评论记录
	 * @param comment
	 * @return
	 */
	public boolean addComment(CommentEntity comment);
	
	/**
	 * 查看美食店铺下的评论数
	 * @param shopId
	 * @return
	 */
	public long findCommentNums(String shopId);

	public List<CommentEntity> findCommentLists(String shopId);

}
